IReactiveList.RemoveMany(Func) method¶
Defined in
Type: IReactiveListReactiveList.Collections
Assembly: ReactiveList.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
int RemoveMany(Func<T, bool> predicate)
Summary: Removes all elements that match the specified predicate from the collection.
Parameters
| Name | Type | Description |
|---|---|---|
predicate | Func | A function that returns true for elements that should be removed. |
Returns: int (opens in a new tab) -- The number of elements removed from the collection.
Remarks
This method provides an efficient way to remove multiple items based on a condition without having to enumerate the collection separately.